package com.crazypos.pojo.bo;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class CreateProductBO {
    @NotNull
    private String name;
    @NotNull
    private Integer isTradein;
    private String sku;
    @NotNull
    private Integer hasSerialNum;
    @NotNull
    private Integer hasVariants;
    @NotNull
    private Integer isRepairable;
    private Float purchasePrice;
    private Float salePrice;
    private String description;
    @NotNull
    private String categoryId;
    @NotNull
    private String brandId;
    private Integer sort;

    private MultipartFile image;
}
